www.gusucode.com > VC++ 宾馆管理系统(MSSQL) > VC++ 宾馆管理系统(MSSQL)/gusucode/Code/Hotel_MISDoc.cpp

    //Download by http://www.NewXing.com
// Hotel_MISDoc.cpp : implementation of the CHotel_MISDoc class

#include "stdafx.h"
#include "Hotel_MIS.h"

#include "Hotel_MISDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CHotel_MISDoc

IMPLEMENT_DYNCREATE(CHotel_MISDoc, CDocument)

BEGIN_MESSAGE_MAP(CHotel_MISDoc, CDocument)
	//{{AFX_MSG_MAP(CHotel_MISDoc)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CHotel_MISDoc construction/destruction

CHotel_MISDoc::CHotel_MISDoc()
{
	// TODO: add one-time construction code here

}

CHotel_MISDoc::~CHotel_MISDoc()
{
}

BOOL CHotel_MISDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CHotel_MISDoc serialization

void CHotel_MISDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CHotel_MISDoc diagnostics

#ifdef _DEBUG
void CHotel_MISDoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CHotel_MISDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CHotel_MISDoc commands